package com.th.supcom.pds.domain.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 住院患者退药查询条件DTO
 * 
 * @author yzhang
 */
public class PrescSearchDTOVO implements Serializable
{

    private static final long serialVersionUID = -3164410728293082540L;

    /** 患者ID */
    private String m_patientId;
    /** 就诊次数 */
    private Long m_visitId;
    /** 开始时间 */
    private Date m_startDate;
    /** 结束时间 */
    private Date m_endDate;
    /** 开单科室 */
    private String m_orderByDeptCode;
    /** 计价项目类型 */
    private List <String> m_itemClass;
    private String m_nurseUnit;

    public String getNurseUnit ()
    {
        return m_nurseUnit;
    }

    public void setNurseUnit (String nurseUnit)
    {
        m_nurseUnit = nurseUnit;
    }

    public List <String> getItemClass ()
    {
        return m_itemClass;
    }

    public void setItemClass (List <String> itemClass)
    {
        m_itemClass = itemClass;
    }

    public String getPatientId ()
    {
        return this.m_patientId;
    }

    public void setPatientId (String patientId)
    {
        m_patientId = patientId;
    }

    public String getOrderByDeptCode ()
    {
        return this.m_orderByDeptCode;
    }

    public void setOrderByDeptCode (String orderByDeptCode)
    {
        m_orderByDeptCode = orderByDeptCode;
    }

    public Long getVisitId ()
    {
        return this.m_visitId;
    }

    public void setVisitId (Long visitId)
    {
        m_visitId = visitId;
    }

    public Date getStartDate ()
    {
        return this.m_startDate;
    }

    public void setStartDate (Date startDate)
    {
        m_startDate = startDate;
    }

    public Date getEndDate ()
    {
        return this.m_endDate;
    }

    public void setEndDate (Date endDate)
    {
        m_endDate = endDate;
    }

    public boolean isNullOrEmpty ()
    {
        if (null == m_patientId)
        {
            return false;
        }
        return true;
    }

    @Override
    public String toString ()
    {
        return "PrescSearchDTO [m_patientId=" + m_patientId + ", m_visitId=" + m_visitId + ", m_startDate=" + m_startDate
               + ", m_endDate=" + m_endDate + ", m_orderByDeptCode=" + m_orderByDeptCode + ", itemClass=" + m_itemClass
               + ", nurseUnit=" + m_nurseUnit + "]";
    }

    public PrescSearchDTOVO ()
    {
        super ();
    }

}
